home *** CD-ROM | disk | FTP | other *** search
/ Mesolore / Mesolore - Disc 2.iso / mac / data / tutorial.dir / 00188_Bitmap_188 < prev    next >
Text File  |  2001-03-05  |  500b  |  15 lines

  1. on mouseEnter me
  2.   set the castnum of sprite the spritenum of me = ((the castNum of sprite the spritenum of me) - 1)
  3. end  
  4.  
  5. on mouseLeave me
  6.   set the castnum of sprite the spritenum of me = ((the castNum of sprite the spritenum of me) + 1)
  7. end  
  8.  
  9. on mouseDown me
  10.   set the castnum of sprite the spritenum of me = ((the castNum of sprite the spritenum of me) + 2)
  11. end
  12.  
  13. on mouseUp me
  14.   set the castnum of sprite the spritenum of me = ((the castNum of sprite the spritenum of me) - 2)
  15. end